<?$this->_extends("_layouts/main_layout");?>

<?$this->_block("contents");?>

<a href="<?=url('enroll/create')?>">[添加]</a>

<table class="list_table" width="100%" cellpadding="0" cellspacing="0">
	
	<tr>
		<th >序号</th>
		<th >批次名称</th>
		<th >批次简称</th>
		<th >备注信息</th>
		<th >操作</th>
	</tr>
	
<?foreach ($list as $i=>$row) {?>
	<tr>
		<td><?=$i+$start+1?></td>
		<td><?=$row['name']?></td>
		<td><?=$row['shortname']?></td>
		<td><?=$row['note']?></td>
		<td><a href="<?=url('enroll/edit', array('id'=>$row['id']))?>">[修改]</a>&nbsp;&nbsp;&nbsp;<a href="<?=url('enroll/delete', array('id'=>$row['id']))?>">[删除]</a></td>
	</tr>
<?}?>

</table><br>
<?$this->_control("pagination", "", array('pagination'=>$pager));?>
<?$this->_endblock();?>